public class Test {
    public static void main(String[] args) {
        BinarySearchTree binarySearchTree = new BinarySearchTree();
        binarySearchTree.insert(5);
        binarySearchTree.insert(6);
        binarySearchTree.insert(1);
        binarySearchTree.insert(9);
        binarySearchTree.insert(3);
        binarySearchTree.insert(7);
        binarySearchTree.inorder(binarySearchTree.root);
        binarySearchTree.remove(5);
        binarySearchTree.inorder(binarySearchTree.root);

    }
}
